package com.example.cxf.model.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

@Data
@EqualsAndHashCode(callSuper = false)
//@Accessors(chain = true)
@ApiOperation("车辆信息")
public class VehicleInfo implements java.io.Serializable {

    /**
     * ID
     */
    @ApiModelProperty(value = "ID")
    private String id;

    /**
     * 使用机构ID
     */
    @ApiModelProperty(value = "使用机构ID")
    private String departId;

    /**
     * 所属机构ID
     */
    @ApiModelProperty(value = "所属机构ID")
    private String departAttachedId;

    /**
     * 车牌号
     */
    @ApiModelProperty(value = "车牌号")
    private String platesNumber;

    /**
     * 注册日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "注册日期")
    private java.util.Date registerDate;

    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private String createBy;

    /**
     * 创建时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
}
